package com.jz.community.moduleshoppingguide.nearshop.bean;

import java.util.ArrayList;
import java.util.List;

public class ShoppingCartBean {

    private String property;
    private String propertyId;
    private String goodsId;
    private String goodsName;
    private String price;
    private List<NearShopGoodsRight> goodsRightList = new ArrayList<>();
    private NearShopGoodsRight nearShopGoodsRight;


    public int getGoodsCount(){
        return goodsRightList.size();
    }

    public void addGoods(NearShopGoodsRight nearShopGoodsRight) {
        this.goodsRightList.add(nearShopGoodsRight);
    }

    public List<NearShopGoodsRight> getGoodsRightList() {
        return goodsRightList;
    }

    public String getProperty() {
        return property;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getPropertyId() {
        return propertyId;
    }

    public void setPropertyId(String propertyId) {
        this.propertyId = propertyId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public NearShopGoodsRight getNearShopGoodsRight() {
        return nearShopGoodsRight;
    }

    public void setNearShopGoodsRight(NearShopGoodsRight nearShopGoodsRight) {
        this.nearShopGoodsRight = nearShopGoodsRight;
    }
}
